package com.example.aaaa;

import com.ngt.ui.dialog.CustomProgressDialog;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
/**
 * 
 * @author Administrator
 *
 */
@SuppressLint("NewApi")
public class MainActivity extends Activity {
	private CustomProgressDialog dialog;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		dialog = CustomProgressDialog.createDialog(getApplicationContext(), this);
		dialog.startProgressDialog(dialog);
	}

}
